<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="static/easyui/jquery.min.js"
	charset="utf-8"></script>
<link rel="stylesheet" href="/static/easyui/themes/default/easyui.css">
<link rel="stylesheet" href="/static/easyui/themes/icon.css">
<script type="text/javascript" src="static/easyui/jquery.easyui.min.js"
	charset="utf-8"></script>
<script type="text/javascript"
	src="static/easyui/locale/easyui-lang-zh_CN.js" charset="utf-8"></script>
<script type="text/javascript" src="/static/js/yzy.js"></script>	
<script type="text/javascript">
	$(function(){
		//自动搜索
		$('#input_1').combobox({
			//data:[{id:1,val:'男'},{id:2,val:'女'}]
			mode:'remote',//需要从服务器加载
			url:'com/test03',
			valueField:'id',
			textField:'name',
			Delay:1000,//提交延迟
		});
		$('#cc').combogrid({
			panelWidth: 500,
			idField: 'id',
			mode:'remote',
			textField: 'name',
			url: 'com/test03',
			columns: [ [
				{field:'name',title:'姓名',width:80},
				{field:'id',title:'账号',width:120}
			] ],
		});
			
		
		
	});
</script>

</head>
<body>
<input id="input_1">

<input id="cc" class="easyui-combogrid"  >
</body>
</html>